#ifndef PIZZA_H_
# define PIZZA_H_

#include <string>
#include "pizzType.h"

class IPizza {
    public:
	int cooking(); // return restant time
	virtual ~IPizza() {}
};

template <TypePizza T, TaillePizza S>
class Pizza : IPizza {
    public:
	Pizza() {}
	virtual ~Pizza() {}
	int cooking() { return 1; }
	int getSize() { return _size; }
	std::string getType() { return "Regina"; }
    private:
	enum {
	    _size = S,
	    _type = T
	};
};

#endif /* !PIZZA_H_ */
